#pragma once
#include "Wnd.h"

class CxConfigWnd : public CxWnd
{
public:
    CxConfigWnd();
    virtual ~CxConfigWnd();

    BOOL    Create();

    virtual LRESULT ProcessMessage(UINT message, WPARAM wParam, LPARAM lParam);

protected:
    void    OnApplyConfig();
        
    bool    _check_ip_valid(const std::string& str);

private:
    HWND            m_hEdit;
    HWND            m_hButton;
    HWND            m_hStaticIp;
};